<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8" />
<title>人力资源管理系统</title>
<script src="../static/js/jquery.min.js"></script>
<script src="../static/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="../static/css/bootstrap.min.css" />
<link rel="stylesheet" href="../static/css/dashboard.css" />
<link rel="stylesheet" href="../static/css/sidebar.css" />
</head>

<body>
	<nav
		class="navbar navbar-dark sticky-top bg-dark flex-md-nowrap p-0 shadow">
		<a class="navbar-brand col-md-3 col-lg-2 mr-0 px-3" href="#">人力资源管理系统</a>
		<button class="navbar-toggler position-absolute d-md-none collapsed"
			type="button" data-toggle="collapse" data-target="#sidebarMenu"
			aria-controls="sidebarMenu" aria-expanded="false"
			aria-label="Toggle navigation">
			<span class="navbar-toggler-icon"></span>
		</button>
	</nav>
	<div class="container-fluid">
		<div class="row">
			<nav id="sidebarMenu"
				class="col-md-3 col-lg-2 d-md-block bg-light sidebar collapse">
				<div class="sidebar-sticky pt-3">
					<div class="user-brief">
						<div>
							<img src="../static/images/avatar.jpg" class="user-avatar" />
						</div>
						<div class="user-name">
							<h4>${user.username}</h4>
							<a href="/Internship/user/logout">退出</a>
						</div>
					</div>
					<div class="accordion" id="accordionExample">
						<div class="card">
							<div class="card-header" id="headingOne">
								<h2 class="mb-0">
									<button class="btn btn-link btn-block text-left" type="button"
										data-toggle="collapse" data-target="#collapseOne"
										aria-expanded="true" aria-controls="collapseOne">
										人员管理</button>
								</h2>
							</div>
							<div id="collapseOne" class="collapse show"
								aria-labelledby="headingOne" data-parent="#accordionExample">
								<div class="card-body">
									<ul class="nav flex-column">
										<li class="nav-item"><a class="nav-link active"
											href="/Internship/user/add"> 人员信息录入 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/user/list"> 人员信息查看 </a></li>
									</ul>
								</div>
							</div>
						</div>
						<div class="card">
							<div class="card-header" id="headingTwo">
								<h2 class="mb-0">
									<button class="btn btn-link btn-block text-left collapsed"
										type="button" data-toggle="collapse"
										data-target="#collapseTwo" aria-expanded="false"
										aria-controls="collapseTwo">招聘管理</button>
								</h2>
							</div>
							<div id="collapseTwo" class="collapse"
								aria-labelledby="headingTwo" data-parent="#accordionExample">
								<div class="card-body">
									<ul class="nav flex-column">
										<li class="nav-item"><a class="nav-link"
											href="/Internship/job/add"> 应聘信息录入 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/job/list"> 应聘信息查看 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/job/listStore"> 人才库浏览 </a></li>
									</ul>
								</div>
							</div>
						</div>
						<div class="card">
							<div class="card-header" id="headingThree">
								<h2 class="mb-0">
									<button class="btn btn-link btn-block text-left collapsed"
										type="button" data-toggle="collapse"
										data-target="#collapseThree" aria-expanded="false"
										aria-controls="collapseThree">培训管理</button>
								</h2>
							</div>
							<div id="collapseThree" class="collapse"
								aria-labelledby="headingThree" data-parent="#accordionExample">
								<div class="card-body">
									<ul class="nav flex-column">
										<li class="nav-item"><a class="nav-link"
											href="/Internship/educate/add"> 培训计划录入 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/educate/list"> 培训计划查看 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/educate/listFinished"> 培训总结查看 </a></li>
									</ul>
								</div>
							</div>
						</div>
						<div class="card">
							<div class="card-header" id="headingFour">
								<h2 class="mb-0">
									<button class="btn btn-link btn-block text-left collapsed"
										type="button" data-toggle="collapse"
										data-target="#collapseFour" aria-expanded="false"
										aria-controls="collapseFour">奖惩管理</button>
								</h2>
							</div>
							<div id="collapseFour" class="collapse"
								aria-labelledby="headingFour" data-parent="#accordionExample">
								<div class="card-body">
									<ul class="nav flex-column">
										<li class="nav-item"><a class="nav-link"
											href="/Internship/institution/add"> 奖惩信息登记 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/institution/list"> 奖惩信息查看 </a></li>
									</ul>
								</div>
							</div>
						</div>
						<div class="card">
							<div class="card-header" id="headingFive">
								<h2 class="mb-0">
									<button class="btn btn-link btn-block text-left collapsed"
										type="button" data-toggle="collapse"
										data-target="#collapseFive" aria-expanded="false"
										aria-controls="collapseFive">薪金管理</button>
								</h2>
							</div>
							<div id="collapseFive" class="collapse"
								aria-labelledby="headingFive" data-parent="#accordionExample">
								<div class="card-body">
									<ul class="nav flex-column">
										<li class="nav-item"><a class="nav-link"
											href="/Internship/stipend/add"> 薪金数据录入 </a></li>
										<li class="nav-item"><a class="nav-link"
											href="/Internship/stipend/list"> 薪金数据查看 </a></li>
									</ul>
								</div>
							</div>
						</div>
					</div>
				</div>
			</nav>
			<main role="main" class="col-md-9 ml-sm-auto col-lg-10 px-md-4">
				<div
					class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
					<h1 class="h2">人员信息录入</h1>
				</div>
				<div>
					<form method="post" action="add">
						<div class="row">
							<div class="col-xs-12 col-md-4 pb-3">
								<label for="username">用户名</label> <input type="text"
									class="form-control" id="username" name="username" />
							</div>
							<div class="col-xs-12 col-md-4 pb-3">
								<label for="password">登录密码</label> <input type="text"
									class="form-control" id="password" name="password" />
							</div>
						</div>
						<div class="row">
							<div class="col-xs-12 col-md-4 pb-3">
								<label for="birthday">出生日期</label> <input type="date"
									class="form-control" id="birthday" name="birthday" />
							</div>
						</div>
						<div class="row">
							<div class="col-xs-6 col-md-2 pb-3">
								<label>性别</label><br />
								<div class="form-check form-check-inline">
									<input class="form-check-input" type="radio" name="sex"
										id="male" value="1" checked /> <label
										class="form-check-label" for="male">男</label>
								</div>
								<div class="form-check form-check-inline">
									<input class="form-check-input" type="radio" name="sex"
										id="female" value="0" /> <label class="form-check-label"
										for="female">女</label>
								</div>
							</div>
							<div class="col-xs-6 col-md-2 pb-3">
								<label>权限</label><br />
								<div class="form-check form-check-inline">
									<input class="form-check-input" type="radio" name="authority"
										id="admin" value="1" /> <label class="form-check-label"
										for="admin">管理员</label>
								</div>
								<div class="form-check form-check-inline">
									<input class="form-check-input" type="radio" name="authority"
										id="normal" value="0" checked /> <label
										class="form-check-label" for="normal">普通</label>
								</div>
							</div>
						</div>
						<div class="row">
							<div class="col-xs-12 col-md-8 pb-3">
								<label for="content">人员简介</label>
								<textarea class="form-control" id="content" name="content"
									rows="4"></textarea>
							</div>
						</div>
						<div class="row">
							<div class="col-xs-6 col-md-2 pb-3">
								<button class="btn btn-primary btn-block" type="submit">保存</button>
							</div>
							<div class="col-xs-6 col-md-2 pb-3">
								<button class="btn btn-light btn-block" type="reset">重置</button>
							</div>
						</div>
					</form>
				</div>
			</main>
		</div>
	</div>
</body>

</html>